home *** CD-ROM | disk | FTP | other *** search
- SDEF
- // -----------------------------------------------------------------------------
- // $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/stun.def $
- // $Revision:: 7 $
- // $Author:: Markd $
- // $Date:: 10/21/98 12:47p $
- //
- // Copyright (C) 1998 by Ritual Entertainment, Inc.
- // All rights reserved.
- //
- // This source may not be distributed and/or modified without
- // expressly written permission by Ritual Entertainment, Inc.
- //
- // This is a model definition file. It is to be used in conjunction with Sin.
- //
- // -----------------------------------------------------------------------------
- // MODEL DESCRIPTION:
- // Weapon: Stun Gun.
- //
- // MODEL AUTHOR:
- // Michael
- //
- /*SINED weapon_stun (.3 .3 1) (0 0 0) (0 0 0)
- Stun gun - World Model
- */
-
- // -----------------------------------------------------------------------------
- // FILE DECLARATIONS
- //
- // Model Commands
- path models/stun
- origin -5 0 0
- scale 1.1
-
- // Base Model
- stun_base.sbm
-
- // Skins
- normal stun_base.tga
-
- // Normal Animations
- idle stun_idle1.sam
- fire stun_hit1.sam
-
- // Define model group areas
- id 5 group blueglow fullbright
- id 10 group tip fullbright bone barrel 0 0 0
-
- // -----------------------------------------------------------------------------
- // INITIALIZATION SECTION
- //
- !init:
-
- // Class Setup
-
- // Server Sound Aliases
-
- // Icon and Inventory Name
-
- // -----------------------------------------------------------------------------
- // MAIN SECTION
- //
- !main:
-
- // dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
- client fire first dlight 0.8 0 0.8 0 1 0 300 0 0.6 0.8
- client fire first shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
- client fire first shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
- client fire 1 shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
- client fire 1 shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
- client fire 2 shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
- client fire 2 shootbeam barrel models/lightning.def lightning length 480 minoffset 1 maxoffset 12
- client fire 2 shootbullets barrel 1 0 0 0 480
- server fire 2 shoot 512
- server fire 2 endanim
-
- // -----------------------------------------------------------------------------
- // SOURCESAFE Update Log
- //
- // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/stun.def $
- //
- // 7 10/21/98 12:47p Markd
- // fixed dynamic light again
- //
- // 6 10/21/98 12:33p Markd
- // fixed dynamic light on stungun
- //
- // 5 10/21/98 2:39a Markd
- // Fixed dynamic light on stungun
- //
- // 4 10/21/98 1:15a Markd
- // Fixed up stun weapon
- //
- // 3 9/30/98 12:48p Joeske
- // Added in formatting, added in respawn sound ref.
- //
- // -----------------------------------------------------------------------------